package com.skyolder.crutch.word.token;

public class IdentifierToken implements Token{
	private String ident=null;
	public IdentifierToken(String ident){
		this.ident=ident;
	}
	public String getIdent() {
		return ident;
	}

	public void setIdent(String ident) {
		this.ident = ident;
	}
	public String toString(){
		if(ident!=null){
			return ident;
		}
		return "null";
	}
	public boolean isSimpleIdentifier(){
		if(ident==null){
			return false;
		}
		if(ident.contains(".")){
			return false;
		}
		return true;
	}
}
